home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Spooling ƒ / Spooling.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  1.3 KB  |  56 lines  |  [TEXT/MPS ]

  1. #    File:        Spooling.make
  2. #   Target:     Spooling
  3. #   Sources:    Spooling.a Spooling.c Spooling.r
  4. #   Created:    Friday, Jan. 29, 1993 6:42:32 PM
  5. #
  6. #    Makefile for Spooling -- an extension which
  7. #    redirects spool files.
  8. #
  9. #    Dave Hersey
  10. #    Apple Developer Technical Support
  11. #
  12. #    1/29/93 - dmh - Created.
  13. #    4/27/93 - dmh - Updated for b1.
  14. #    9/06/93 - dmh - Updated for b2.
  15. #  12/18/93 - dmh - Updated for b3.
  16. #   8/24/94 - dmh - Finalized.
  17. #   6/14/96 - cn  - Updated to support MPW Pro #19.
  18.  
  19. # Our creator type:
  20.  
  21. kCreator = '≠-34'
  22.  
  23.  
  24. #    Alias to the path for the GX interface files.
  25.  
  26. INTPATH = "{CIncludes}"
  27.  
  28.  
  29. #    The assembly/C options we want to use.
  30.  
  31. AsmOptions        = -sym off -i {INTPATH} -case obj
  32. CompileOptions    = -sym off -i {INTPATH} -d applec -mbg off -b2 -opt full -r
  33.  
  34.  
  35. OBJECTS = Spooling.a.o Spooling.c.o
  36.  
  37.  
  38. Spooling.a.o ƒ Spooling.make Spooling.a
  39.      Asm {AsmOptions} Spooling.a
  40. Spooling.c.o ƒ Spooling.make Spooling.c Spooling.h
  41.      SC {CompileOptions} Spooling.c
  42.  
  43. Spooling ƒƒ Spooling.make Spooling.r {OBJECTS}
  44.     Link    -ra =resSysHeap,resPurgeable    ∂
  45.             -c {kCreator}                    ∂
  46.             -t 'pext'                        ∂
  47.             -rt pext=0                        ∂
  48.             -sg SEGS                        ∂
  49.             -m EntryPoint                    ∂
  50.             {OBJECTS}                        ∂
  51.             "{Libraries}"MacRuntime.o        ∂
  52.             "{Libraries}"Interface.o        ∂
  53.             -o Spooling;
  54.     SetFile Spooling -a iB;
  55.     Rez -i {INTPATH} -rd -o Spooling Spooling.r -append 
  56.